/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: wwy
 * Date: 2024-05-01
 * Time: 13:07
 */
public class SuShu {
    public static void main(String[] args) {
        int n=7;
        int i = 2;
        for (; i <Math.sqrt(n) ; i++) {
            if(n/i==0){
                break;
            }
        }
        if(i>Math.sqrt(n)){
            System.out.println(n+"是素数");
        }

    }
}

